package me.send.produce.client.controller;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
@RequestMapping("/test")
public class TestController {
	@RequestMapping("/list")
	@ResponseBody
	public List<String[]> testList(){
		List<String[]> list=new ArrayList<String[]>();
		list.add(new String[]{"1","jack"});
		list.add(new String[]{"2","lucy"});
		return list;
	}
}
